package com.springbootorder.mapper;

import com.springbootorder.entity.Order;
import com.springbootorder.entity.OrderKey;

import java.util.List;

public interface OrderMapper {
    int deleteByPrimaryKey(OrderKey key);

    int insert(Order record);

    int insertSelective(Order record);

    Order selectByPrimaryKey(OrderKey key);

    int updateByPrimaryKeySelective(Order record);

    int updateByPrimaryKey(Order record);

    List<Order> findAll(Order product);
}